package com.rm.zeyou.constant;

import java.math.BigDecimal;

/**
 * 支付常量
 */
public class PayConstants {

    /**
     * 微信公众号ACCESS_TOKEN_KEY
     */
    public static final String WX_H5_ACCESS_TOKEN_KEY = "WX_H5_ACCESS_TOKEN_KEY:%s";

    /**
     * 微信公众号WX_H5_TICKET_KEY
     */
    public static final String WX_H5_TICKET_KEY = "WX_H5_TICKET_KEY:%s";


    /**
     * 支付type
     */
    public final static String APP_TYPE = "APP";
    public final static String JSAPI_TYPE = "JSAPI";
    public final static String H5_TYPE = "H5";
    public final static String ADAPAY = "ADAPAY";


    public final static String alipay_wap = "alipay_wap";
    public final static String wx_pub = "wx_pub";

    /**
     * 支付转换常量
     */
    public final static BigDecimal WX_PAY_CONVERT = BigDecimal.valueOf(100);
    /**
     * 支付状态
     * NO=已经支付
     * PAY=未支付
     */
    public final static String ORDER_PAY_NO_STATUS = "NO";
    public final static String ORDER_PAY_YES_STATUS = "PAY";

    /**
     * 支付类型
     */
    public final static String WX = "WX";
    public final static String ZFB = "ZFB";
    public final static String BALANCE = "BALANCE";
}
